package com.nineclock.api.system.controller;

import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestParam;

@Api("短信验证码服务")
public interface SmsControllerApi {
    @ApiOperation("根据不同的类型发送相关验证码")
    public Result sendSms(String mobile, String type);

    @ApiOperation("校验验证码")
    public Result<Boolean> verify(String checkCode, String type, String mobile);
}
